from sanic import Sanic

from . import bp_product_type

from sanic import response
from .product_type import ProductType

@bp_product_type.route("/all_product_type/<ID:int>")

async def product(request,ID):

    info=await ProductType().product_type(ID)

    return response.json(info)







